package cn.shengongying.service;

import cn.shengongying.model.UserDiscountInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户优惠券信息 服务类
 * </p>
 *
 * @author RXK
 * @since 2022-01-10
 */
public interface IUserDiscountInfoService extends IService<UserDiscountInfo> {

    List<UserDiscountInfo> findByUserId(Long userId);

    void updateStatus(Long id, int status);

    void newUser(Long userId);
}
